3 dead, 6 in hospital in Scotland train derailment