Infrared microspectroscopy analysis of water distribution in deformed and metamorphosed rocks