U.S. retail sales rose 0.5% in July