Academic achievement and school functioning among nonincarcerated youth involved with the juvenile justice system