Nonthermal electrons and high-frequency waves in the upstream solar wind, 1. Observations