A three-grating electron interferometer