Synthesis of pyrazolo[3,4-d]pyrimidine derivatives using ketene dithioacetals