New-home sales rise 3.6 percent in July