Newsom tries shifting blame for homelessness crisis to local officials