Five-dimensional gauge theories on spheres with negative couplings