Text this: Nonlinear analysis of beams using least-squares finite element models based on the Euler-Bernoulli and Timoshenko beam theories /