Linking institutional quality to environmental sustainability