Determining role of individual cations in high entropy oxides: Structure and reversible tuning of optical properties