The massless two-loop two-point function and zeta functions in counterterms of Feynman diagrams