Theory of reentrant excitation in a ring of cardiac tissue