Photochromism in Calcium and Strontium Fluoride Crystals Doped With Rare-Earths Ions