Similar local order in disordered fluorite and aperiodic pyrochlore structures