Principal parametric and three-to-one internal resonances of flexible beams undergoing a large linear motion