Optical spectroscopy of Yb2+ ions in YbF3-doped CaF2 crystals