Porous sulphur copolymer for gas-phase mercury removal and thermal insulation