Spiced pear and walnut cake