XAFS analysis and luminescent properties of ZnS:Mn2+ nanoparticles and nanorods with cubic and hexagonal structure