Text this: A study of the structural, electronic, optical, and thermoelectric properties of the stable double perovskite Ba2KIO6 using density functional theory.