U.S. home prices rise as buyers compete for fewer homes