Studies on copoly (Decyloxymethacrylae)s containing fulgimide and azobenzenes in the pendant for dual mode optical switches