Donations in Scotland rose to more than £1bn in 2017