Strategic approaches to the synthesis of pyrrolizidine and indolizidine alkaloids