Teach Multimodal LLMs to Comprehend Electrocardiographic Images