Salt Lake City ranks in middle for first-time home affordability, study shows