Comedian and actor’s deadpan manner and laconic approach led to bestselling comedy albums and starring roles in two long-running sitcoms