Debenhams to close all shops and move online after £55m rescue deal