Bread Pudding with Apples and Walnuts