Synthesis of Nitrogen Based Heterocyclic and Spirocarbocyclic Compounds by Multicomponent Reactions and Their Biological Evaluation