Gravar-mail: Privacy-Preserving Patient Similarity Learning in a Federated Environment: Development and Analysis