Coupled transverse and torsional vibrations in a mechanical system with two identical beams