Gravar-mail: Cooperation in spatial public good games depends on the locality effects of game, adaptation, and punishment