Synthesis of optically active polymers during asymmetric hydrogenation of polyfunctional compounds