Retail sales and online sales both suffered falls during May as consumers cut back spending on goods and instead turned their spending to eating out and entertainment.