Water absorption by an epoxy resin and its effect on the mechanical properties and infra-red spectra