Several thousand properties in the north of Scotland are still without power after days of high winds and heavy rain.