Social justice and its relationship to sustainable development