China home prices rose in fewer cities in July, adding to signs the property market is cooling.