Halide perovskite materials as light harvesters for solar energy conversion