NYT opinion editor resigns after outrage over Tom Cotton op-ed