Jets separated by a large pseudorapidity gap at the Tevatron and at the LHC