A research on compact short-distance grating interferometer based on ridge prism