Precise branching ratio measurements of the decays D0→π-π+π0 and D0→K-K+π0 relative to the D0→K-π+π0 decay