Ultrafast electron diffraction. Velocity mismatch and temporal resolution in crossed-beam experiments