How to effectively deploy plant resistances to pests and pathogens in crop breeding