Cathodoluminescence: Theory and Applications