Layer-wise models in the first-ply failure analysis of laminates