Opposite correlations between cation disordering and amorphization resistance in spinels versus pyrochlores