The Wiener index of the zero-divisor graph of a finite commutative ring with unity