From ‘Monty Python’ to ‘Roseanne’ to ‘Hill Street Blues,’ the series that inspired showrunners