Eighteen people were injured, including two seriously, after a passenger train derailed in southern England on Thursday, trapping passengers inside carriages that had toppled onto their sides.