Recurrence relations for the Dunham coefficients and analytic expressions of the diagonal radial matrix elements for an anharmonic oscillator