Dynamic risk factors and timing of recidivism for youth in residential placement