The prolific, pioneering filmmaker made dozens of documentaries and chronicled the inner workings of institutions. His 1967 film, Titicut Follies, revealed appalling conditions at a prison facility.