The role of the family and the community in the treatment of mental disorders in the context of primary health care