Hawaii is the most expensive state in the country to buy a home, study finds