Polynomial modal analysis of slanted lamellar gratings.