Apple, Cranberry, and Walnut Cake