On any given night in San Francisco, officials estimate there are at least 6,700 people living on the streets. The city is trying to turn it around — as are other California cities struggling with the problem of homelessness.