Staples spinning off retail business