Bridgehead N heterocycles. I. Convenient synthesis of pyrazolo[1,5-a]pyridines