Cities across the US are finding creative ways to preserve affordable housing