Text-to-Code Generation with Modality-relative Pre-training