U.S. consumer confidence declines in July