What treaty brought an end to Queen Anne’s War?