Deep-shallow transformation of bistable centers in semiconducting CdF2 crystals