Ebook revenues beat hardcovers for the first time