A geometrically exact beam model with non-uniform warping coherently derived from the Saint Venant rod