Weak and strong coupling of photons and excitons in photonic dots