Developmental pathways and correlates of positive thinking in the transition from adolescence to early adulthood