Phase retrieval based on deep learning in grating interferometer