His films explored American institutions, from a psychiatric hospital to a public housing project, and brought him international acclaim.