Energy eigenvalues of a quantum anharmonic oscillator from supersymmetry: the concept of conditional shape-invariance symmetry