2 people hurt in train derailment in Franklin