The number of people visiting Scotland’s shops dropped last month, a retail body has found.