Describe the process of institutionalization of the mentally ill, citing the reasons, goals, and short- and long-term effects of the transition from an institutional model to a community mental health model.