Optical Pumping between Levels of a Bistable State of Alkali Atoms Trapped in Rare-Gas Matrices