Scottish charities see rapid growth in legacy income