Pulse requirements for x-ray diffraction imaging of single biological molecules.