Quantification of memory effect in composites under fatigue for precursor damage analysis