Fundamentals of cathodoluminescence in a STEM: The impact of sample geometry and electron beam energy on light emission of semiconductors.