OH mid-infrared emission as a diagnostic of H2O UV photodissociation. II. Application to interstellar photodissociation regions