Exactly solvable non-shape-invariant potentials