Synthesis and modification of functional polymer nanogels using pulsed-electron beam ionising irradiation