The late television producer famed for ‘Hill Street Blues’ and ‘L.A. Law’ was more than just a great storyteller