Structural and luminescence imaging and characterisation of semiconductors in the scanning electron microscope