Anisotropic thin-walled beam models: a rational deduction from three-dimensional elasticity