Reversible elements in rings