1D Perovskitoid as Absorbing Material for Stable Solar Cells