Synthesis and Reactions of Some New Substituted Pyridine and Pyrimidine Derivatives as Analgesic, Anticonvulsant and Antiparkinsonian Agents