Turkish parliament ratifies Qatar military deals