Ted Kennedy, the 'liberal lion,' dies at 77