San Francisco being sued over homeless conditions