Casimir effect for smooth potentials on spherically symmetric pistons