China first-tier home prices flat in July as 23 cities gain