Nanoscale depth-resolved cathodoluminescence spectroscopy of ZnO surfaces and metal interfaces