Radiation of whistlers by helical electron and proton beams