Contrastive Domain Randomization