Synthesis and properties of fluorinated polyimides and fluorinated poly(imide amide)s containing pendent cyano groups