Around 30,000 homes were left without power and dozens of schools closed as Storm Otto caused disruption across Scotland. High winds and fallen trees have caused damage to vehicles and buildings.