Anharmonic oscillator model for first order structural phase transition