A measure of functional impairment in children and adolescents and its relation to symptomatology and diagnosis