Adsorption of Water and Ammonia on Graphene: Evidence for Chemisorption from X-ray Absorption Spectra