A method to predict the fatigue life and the residual strength of composite materials subjected to variable amplitude (VA) loadings