Medical Image Synthesis via Fine-Grained Image-Text Alignment and Anatomy-Pathology Prompting