Nanoscale characterisation of semiconductors by cathodoluminescence