The resolution of photoelectron microscopes with UV, X-ray, and synchrotron excitation sources