Dynamics of fracture and structural transformations