A study of outcome in patients treated at a psychiatric emergency unit