Frasier star John Mahoney dies aged 77