Optical diffraction radiation for position monitoring of charged particle beams