A tragic accident on the high-speed train line has exposed the urgent need to upgrade Spain’s railway system