More than a million people have managed to escape Ukraine by train, despite Russian forces bombing parts of Ukraine's railway network.