Scanning electron diffraction with energy analysis