Structural and core parameters of the hot B subdwarf KPD 0629-0016 from CoRoT g-mode asteroseismology