Atomic-scale study of the amorphous-to-crystalline phase transition mechanism in GeTe thin films