Isonicotinamide-based compounds : from cocrystal to polymer