Proton beam generation of whistler waves in the Earth's foreshock