Existing-home sales rise 7.8%