mental commitment