A novel and efficient synthesis of pyrimido[4,5-d]pyrimidine-2,4,7-trione and pyrido[2,3-d:6,5-d] dipyrimidine-2,4,6,8-tetrone derivatives