Microscopic Theory of Multimode Polariton Dispersion in Multilayered Materials.