Computer simulation of the effect of phosphorous doping of the i-layer in a thin-film a-Si:H p–i–n solar cell