UK retailer Marks and Spencer has booked another strong performance from its food business but general merchandise sales remained sluggish.