A ship carrying Ukrainian grain has been anchored in the Black Sea, off the coast of Istanbul, for inspection.