Measurement of the ratio of branching fractions B(B0→K0γ)/B(Bs0→φγ) and the direct CP asymmetry in B 0→K 0γ