Thin-wire Langmuir-probe measurements in the transition and free-molecular flow regimes