Confidence among UK consumers dropped significantly in July, marking the sharpest month-on-month decline for more than 26 years, according to new figures.