One-dimensional molecular co-crystal alloys capable of full-color emission for low-loss optical waveguide and optical logic gate