Marks & Spencer is to sell a selected range of around 400 branded grocery and household products in all of its UK stores.