Sorption modes of water in glassy epoxies