Exact Analytical Solution for the Density Matrix of a Nonequilibrium Polariton Bose-Einstein Condensate.