Most affordable U.S. cities to buy a home as prices keep climbing