A unified view of curvature and torsion in metric–affine gauge theory of gravity through affine–vector bundles