Measurement of gravitation-induced quantum interference for neutrons in a spin-echo spectrometer