Polaritons in multilayer semiconductor structures