Computer simulation of the optical behaviour of amorphous silicon solar cells