The EDIBLES survey. IV. Cosmic ray ionization rates in diffuse clouds from near-ultraviolet observations of interstellar OH+