Exciton-polaritons in bulk semiconductors and in confined electron and photon systems