A toroidal magnetic guide for neutral atoms