Equivalence of unstable anharmonic oscillators and double wells