Diffraction at HERA, the Tevatron and the LHC