Synthesis of Some New Pyrrole and Pyridine Derivatives and their Antimicrobial, Anticancer Activities