Thickness effect in composite laminates in static and fatigue loading