Allocating resources among group members: The medium of exchange matters