The captain of a cargo ship that sank near Istanbul has been arrested, while rescuers have not yet reached the wreck or found the black box.