Properties and origin of whistler waves in the solar wind