Global tradeoffs between prosperity, inequality, and the environment