Development of novel approaches towards synthesis of substituted pyrroles and their applications in the total synthesis of some pyrrole containing natural products