Alan Stewart, the CFO of UK retailer Marks & Spencer, has stepped down to take up the role of finance chief with Tesco.