Thin and foldable solar panels