On the combined effects of window/buffer and buffer/absorber conduction-band offsets, buffer thickness and doping on thin-film solar cell performance