Theory of the structural phase transition of GeTe.