Large deformations of Timoshenko and Euler beams under distributed load