Harmonic analysis on real reductive groups I the theory of the constant term