Synthesis of Functionalized Bipyridines by Sequential Nucleophilic Substitution of Hydrogen and Cycloaddition in 1,2,4-Triazine Rings.