Hysteresis in the voltage dependence of cathodoluminescence