Application of red and near infrared emission from rare earth ions for radiation measurements based on optical fibers