Electronic structure and surface structure of Cu2S nanorods from polarization dependent X-ray absorption spectroscopy