Confined encapsulation of living cells in self-assembled fiber macrospheres with micro/nanoporous polymer shells for the transformation of contaminants to green energy