John Mahoney, Beloved Patriarch of TV's Frasier, Dies at 77