On the use of the Fourier modal method for calculation of localized eigenmodes of integrated optical resonators