Washington Post publisher resigns after mass layoffs