Here's the salary you have to earn to buy a home in 17 major US cities