Ex-Turkish Premier Ahmet Davutoglu quits ruling AK Party