Eigenvalues of the resistance-distance matrix of complete multipartite graphs