Photovoltage and photocurrent spectroscopy of p+-i-n+ GaAs/AlGaAs quantum well heterostructures