Measurements of angular distributions of sputtered material as a new tool for surface-segregation studies: Segregation in CuPt alloys