Mid-infrared a–b plane response of YBa2Cu3O7−δ as a function of doping and temperature determined by attenuated total reflection