Evolution of crystal structures in GeTe during phase transition