Preparation and properties of poly(dimer acid–dodecanedioic acid) copolymer and poly(dimer acid–tetradecanedioic acid) copolymer