High performance solid-state thermoelectric energy conversion via inorganic metal halide perovskites under tailored mechanical deformation