A composite beam model including variable warping effects derived from a generalized Saint Venant solution