Displacement-based formulations for the partial interaction of composite beams accounting for time effects