Observation of diffraction phases in matter-wave scattering