Light-switchable silicon-based polymers with high thermal stability and surface areas