Writing and book production in the ancient Near East