CoMIR: Contrastive Multimodal Image Representation for Registration