Redundant vibrational coordinates. Part I. The harmonic potential function