Renormalization group analysis of turbulence. I. Basic theory