The effects of resource limitation and consensual incentives on cooperation