Limits on band discontinuities in GaAs-GaAlAs heterostructures deduced from optical photoresponse