Design and synthesis of novel nitrogen heterocyclic prototypes and their antiparasitic and antimicrobial activity