Marks and Spencer has said it expects the extreme weather conditions in the UK are likely to have an affect on crops, potentially leading to a spike in prices.