when can a person be admitted involuntarily for psychiatric treatment