A pump–probe scheme with a single chirped pulse to image electron and nuclear dynamics in molecules