After newsroom protests, The New York Times opinion page editor and the top editor at The Philadelphia Inquirer have resigned