Perovskites for photovoltaics: a combined review of organic–inorganic halide perovskites and ferroelectric oxide perovskites | Synapse