Euler–Bernoulli type beam theory for elastic bodies with nonlinear response in the small strain range