Marks & Spencer has reported a slowdown in its sales decline after posting better-than-expected fourth quarter figures.