Representations and cohomology of general linear groups and symmetric groups