Bright and dark solitons in the systems with strong light-matter coupling: Exact solutions and numerical simulations.