Spain's vaunted reputation for its high-speed network has been humbled by disaster on the railways.