Electroorganic chemistry. 100. A new stereoselective method of synthesis of pyrrolizidines and indolizidines