Dashcam video shows the moment a train derails 