Technological characterisation of a new optical sensor for smart composites