Cotton-yarn/TiO$\mathsf{_{2}}$ dispersed resin photonic crystals with straight and wavy structures