Measuring scale-dependent landscape structure with Rao’s quadratic diversity