Herschel/HIFI observations of interstellar OH+ and H2O+ towards W49N: a probe of diffuse clouds with a small molecular fraction