Pope says Vatican II shaped his theology, including in social teaching