Marks and Spencer has triumphed in the annual Which? survey of the best and worst supermarkets, with shoppers praising the quality of its products and shopping experience.