Coherent dynamics of microcavity polaritons in the nonlinear regime