UK retailer Marks and Spencer Group (M&S) has announced the resignation of Ian Dyson, its group finance and operations director.