Marks & Spencer has remained upbeat about the performance of its food division despite a slowdown in like-for-like sales.