Cross-Conditioned Diffusion Model for Medical Image-to-Image Translation