Comparison of Sm3+ and Tb3+ dopant effects on the silica-based three-dimensional inverse opal photonic crystal coatings