Turkey to take ‘necessary measures’ on border security: PM Davutoglu