Cathodoluminescence study of off‐stoichiometry and residual stresses in advanced dielectrics and related devices