Turkey, Iraq agree to cooperate