Bandgap tuning and thermoelectric characteristics of Sc-based double halide perovskites K2ScAgZ6 (Z = Cl, Br, I) for solar cells applications