Mortgages are unaffordable in half of America’s largest housing markets. Rental affordability isn’t so great, either.