Ankara and Damascus plan security pact