Development of novel green methodologies for the synthesis of heterocyclic compounds and formal synthesis of (-)-swainsonine from garners aldehyde