Perovskite photovoltachromic cells for building integration