Energy-dispersive X-ray emission analysis. A review