Gas giants in the habitable zone