Investigating the OH-H2 relation in diffuse Galactic clouds