Acidic and basic hydrolysis of poly(N‐vinylformamide)