Here’s what upgrading to a nicer home could cost you, and why it’s locking up the market