Influence of residual stresses on the mechanical behavior of composite laminate materials