Topology on cohomology groups