Russia and Turkey sign gas deal, seek common ground on Syria as ties warm