Visible-light sensitized sol–gel-based lanthanide complexes (Sm, Yb, Nd, Er, Pr, Ho, Tm): microstructure, photoluminescence study, and thermostability