Drift correction in ptychographic diffractive imaging.