On spectral radius and energy of complete multipartite graphs