Elastic electron-deuteron scattering as a probe of the deuteron wave function