Supercritical CO2 technology in resource-effective production of functional and smart textiles