Dynamics of condensation in stochastic particle systems