Analysis of two- and three-layer beams with interlayer slip and bi-linear interface law