Optical modelling of thin-film silicon solar cells deposited on textured substrates