A route to functionalized pyrimidines from carbohydrates via amine-driven dehydrative ring transformations