Vico and a new philosophy of history