Hysteresis and hierarchies: Dynamics of disorder-driven first-order phase transformations.