Application of the inner product technique to double-well potentials in three-dimensional quantum systems by expanding the potential functions around their minima