A multimodal comparison of latent denoising diffusion probabilistic models and generative adversarial networks for medical image synthesis