Microscopic Theory of Exciton Polaritons in Semi-infinite Solids