Frontier applications of perovskites beyond photovoltaics