Apple-Walnut Cake with Caramel Glaze