Three dead, dozens injured after US train derailment