On the majority carrier collection in p+-p-n+ and n+-p-p+ silicon solar cells