Influence of lattice distortion on the Curie temperature and spin-phonon coupling in LaMn0.5Co0.5O3.