Higher twist distribution amplitudes of vector mesons in QCD: Formalism and twist 3 distributions