X-ray spectral imaging in the STEM for microelectronics failure analysis