Measuring Rao’s Q diversity index from remote sensing: an open source solution