Attachment, adolescent competencies, and substance use: developmental considerations in the study of risk behaviors