Grating profiles in dichromated gelatin