Inorganic tin halide perovskites for planar photovoltaic devices.