A problem in electrical prospection and a n-dimensional Borg-Levinson theorem