Class groups of integral group rings