Scottish SMEs write off £30,000 in bad debt as late payments surge