Exciton-polaritons in confined systems