The rapid onset of elasticity during the assembly of the bacterial cell-division protein FtsZ