Limits to the spatial, energy and momentum resolution of electron energy-loss spectroscopy.