Synthesis of 2H-pyrano[2,3-d]pyrimidine derivatives