The evolution of life histories in spatially heterogeneous environments: Optimal reaction norms revisited