Staples president and COO resigns