Selecting or Rewarding Teachers? International Evidence from Primary Schools