Lead-free solid-state organic–inorganic halide perovskite solar cells