Elastoplastic analysis of unidirectional composites subjected to 3D stress states