Dominic Cooke, who directed the National Theatre's Olivier award-winning production of Follies, is to adapt the Stephen Sondheim musical for the screen,