Kinetics of phase transitions in quark matter