Theoretical and experimental study of dynamics and control of a two-link flexible robot manipulator of revolute joints