Coupled-mode theory for light propagation through deep nonlinear gratings.