Nanoscale band gap spectroscopy on ZnO and GaN-based compounds with a monochromated electron microscope