A model for diffusive and displacive phase transitions: Thermo-chemo-mechanical coupling effects