Understanding the interplay of individual and social–developmental factors in the progression of substance use and mental health from childhood to adulthood