Americans’ economic mood improved earlier this month as gasoline prices cooled, according to the preliminary results of the University of Michigan’s monthly survey.