Microcrack Nucleation in Ceramics Subject to a Phase Transformation