A stern novelist lost his beloved wife. But cooking the recipes she left behind gives him the energy to go on living