Weighted cohomology of arithmetic groups