Computational Mechanisms of Addiction and Anxiety: A Developmental Perspective