San Francisco Democrats invoke environmentalism to oppose homeless shelter