More homes were sold in the UK in July than in any other month this year, despite pressure on budgets.