Conditionally exactly solvable potentials and supersymmetric transformations