L^2-cohomology of locally symmetric spaces, I