Luminescence properties of solid solutions of borates doped with rare-earth ions