Characterization of thin-film silicon materials and solar cells through numerical modeling