Retailer Marks & Spencer posted a rise in like-for-like sales in the crucial pre-Christmas trading period - but saw the company's shares fall after the figures disappointed analysts.