The influence of Bragg scattering on inelastic and other forms of diffuse scattering of electrons