how much would a book cost during the medieval period?