On the homology of double branched covers