Vertical photon beam position measurement at bending magnets using lateral diodes