Text this: Structure dependent optical and conductive properties of HPMC:CoCl2 composites: A functional data analysis study