Modal interactions in the nonlinear dynamics of a beam–cable–beam