The influence of negative ions in helium–oxygen barrier discharges: I. Laser photodetachment experiment