Even apes make irrational economic decisions—especially male ones