Linear and branched polyester resins based on dimethyl-2,5-furandicarboxylate for coating applications