Electron probe microanalysis using energy dispersive X-ray spectroscopy