The Coulomb-oscillator relation on the N-sphere