Two-electron perturbation problems and Pollaczek polynomials