The Pomeron in QCD in the leading and next-to-leading approximations