Barnes & Noble narrows loss, digital and Nook sales up 140%