Following dynamic nuclear wave packets in N2,O2, and CO with few-cycle infrared pulses