Find the locus of the foot of the perpendicular drawn from the origin to any chord of the circle S=x²+y²+2gx+2fy+c=0 which subtends a right angle at the origin.