Transfer characteristics of rectangular phase gratings in interference microscopy.