Samir Nasri leaves Turkish club after six months