Measurement and subtraction of Schumann resonances at gravitational-wave interferometers