An efficient synthesis of natural products using singlet oxygen