A new three-dimensional analytical model to simulate microresidual stresses in polymer matrix composites