the records of ancient matters and Nihon-gi