A journey from the outskirts to the cores of groups: I. Color- and mass-segregation in 20K-zCOSMOS groups