Mixed boundary value problem of potential theory in toroidal coordinates