New formulation of the Fourier modal method for crossed surface-relief gratings | Synapse