A Sixth-Order Theory of Shear Deformable Beams With Variational Consistent Boundary Conditions