Monopole-antimonopole chains and vortex rings