potential of a charged ring