MgxCu1-xCr2O4 spinel solid solution: Jahn-Teller distortion and phase transitions