CMT: Mid-Training for Efficient Learning of Consistency, Mean Flow, and Flow Map Models