De Broglie waves and electron diffraction