Synthesis of functional polymers via click polymerisation and multicomponent reactions