Photoenforced surface segregation for the synthesis of gradient copolymers