Turkey's PM Ahmet Davutoglu to quit over 'Erdogan rift'