Measurement of the refraction index for atom waves