Signal-to-noise criterion for free-propagation imaging techniques at free-electron lasers and synchrotrons.