Geometric discord approach to quantum phase transition in the anisotropy XY spin model