Resonant polarons in a GaAs-GaAlAs heterostructure