Internet of Things for Sustainable Railway Transportation: Past, Present, and Future