Hard diffraction at the LHC