McKinney homes average 39 days on the market in July