The integral cohomology of the Hilbert scheme of two points