One-pot synthesis of novel 1H-pyrimido[4,5-c][1,2]diazepines and pyrazolo[3,4-d]pyrimidines