Pseudocompetition among groups increases human cooperation in a public-goods game