Sorption and diffusion of water in cellulose and cellulose nitrate