Ferroelectric switching in GeTe through rotation of lone-pair electrons by Electric field-driven phase transition