Determinants of emergency psychiatric admission for adolescents and adults.