Understanding the associations between psychosocial factors and severity of crime in juvenile delinquency: a cross-sectional study