The formation of singularities in the harmonic map heat flow