Calculation of resonant absorption and photoresponse measurement in p‐type GaAs/AlGaAs quantum wells