Cathodoluminescence and Photoluminescence (Theories and Practical Applications)