A global theory of steady vortex rings in an ideal fluid