Dynamics of kinks: nucleation, diffusion, and annihilation