Design of p -type transparent conductors from inverted band structure: The case of inorganic metal halide perovskites