NBC: California city bans people from living in tents amid homeless crisis