Formation of an exciton polariton condensate: thermodynamic versus kinetic regimes.