Relation between the open-circuit voltage and the band gap of absorber and buffer layers in a-Si:H solar cells