Complexity measures of geomagnetic indices in the last two solar cycles