Church's social teaching needed to combat greed, injustice, pope says