Optimization of the optical properties of Er-doped Si-rich SiO2/SiO2 multilayers obtained by reactive magnetron sputtering