SMS dit: Payoff-based learning best explains the rate of decline in cooperation across 237 public-goods games