The roles of hopeful thinking in preventing problems and enhancing strengths