Effects of maintaining temperature and time on properties and structures of poly(dimethyldiallylammonium chloride)