Synthesis of pyrazolo 3 4 b pyridines pyrazolo 3 4 B 1 8 naphthyridines and study of their biological activities and photophysical properties