NBC: Senior NPR editor resigns after accusing outlet of liberal bias