From tragedy to disaster: welfare effects of commons and anticommons dilemmas