Impact of an ecological factor on the costs of resource acquisition: fighting and metabolic physiology of crabs