Effects of Gender on Costly Punishment