Functional polymers from alternating aliphatic polyketones door