Syria's interim government has signed a deal with the Kurdish-led authority that controls the country's oil-rich northeast.