Time-, frequency-, and wavevector-resolved x-ray diffraction from single molecules.