On the structural phase transition in rare earth elpasolites