Synthesis and antibacterial activity of 1H-pyrazolo[3,4-b]pyrazine and -pyridine derivatives.