Tractor-trailer overturns after colliding with train