Trainee solicitors in Scotland to benefit from pay boost