Socially optimized engineered safety: The Life Quality Index