Scotland ends nearly all COVID restrictions