Cities across California are bleeding both jobs and affordable housing, a new study says.