Text this: An optimization study on the sol–gel process to obtain multifunctional denim fabrics