Surface and bulk segregation phenomena in polymeric networks