Elastic-plastic analysis of the toughening mechanism in rubber-modified nylon: matrix yielding and cavitation