Store chain Marks & Spencer has reported "encouraging" third-quarter sales and better-than-expected Christmas trading after improving performance in all areas of its business.