Determination of band offsets using the photovoltaic effect: Application to the PbS/PbSe heterostructure