Collective action in the commons: A theoretical framework for empirical research