Chemically shifted surface core-levels and surface segregation in EuAu and YbAu alloys