Consumer sentiment improved from recent record lows in June as gasoline prices moderated, according to the University of Michigan’s monthly survey.