Polaritons in Periodic and Quasiperiodic Structures