Synthesis of some bioactive molecules by greener routes their characterization and biological activity study