Barnes & Noble CEO resigns