Failure and fatigue mechanisms in composite materials