Displacement measuring grating interferometer: a review