Turkey and US sign deal to train Syrian rebels