U.S. consumer confidence improves in June