Luminescence properties of rare-earth ions in SiO2 glasses prepared by the sol-gel method