Gas permeation and viscoelastic deformation of prepregs in composite manufacturing processes