CN rail company stands by safety record as derailment investigation begins