Exact results on the two-channel Anderson impurity model: single-electron Green's function and resistivity