Transition from Eu3+ to Eu2+ in SiO2 matrix prepared by sol-gel