Barnes & Noble CEO William Lynch resigns after Nook sales slump