Turkish parliament approves motion on Iraq, Syria