Most youths locked up in juvenile detention last year had not yet been sentenced