Atomic resolution electron energy-loss spectroscopy