On the equivalence of energetic and geometric shear factors based on Saint Venant flexure