Quantum Electrodynamics Of Semiconducting Nanomaterials In Optical Microcavities