Optical characterization of photovoltaic materials and structures for thin-film solar cells based on advanced texturization