Finite elements for the analysis of composite beams with interlayer slip