Synthesis of tailored nanogels by means of two-stage irradiation