Based on the reference text, what were the main reasons homeless people from outside of San Francisco went to San Francisco?