An acoustic-emission characterization of the failure modes in polymer-composite materials