Measuring the stray capacitance of solenoids with a transmitting and a receiving coil