Cathodoluminescent contrast of direct writing patterns in the scanning electron microscope