Mean values connected with the Dedekind zeta function