A new synthesis for 1,2,4-triazolo[1,5-a]-pyridines and 1,2,4-triazolo[1,5-a]isoquinolines