Signal modeling in low coherence interference microscopy on example of rectangular grating