High street retailers bore the brunt of lower shopper numbers in June, with footfall shrinking further than the previous month.