Mr. Grosbard's work was divided evenly between the theater and the movies, and though his career stretched across nearly half a century, he was highly selective in his projects.