The influential photographer captured San Francisco at a time of immense change in the 1940s and 1950s.