CP Fraction Measurement of π+π−π0 and K+K−π0