Cross-talk between signaling pathways leading to defense against pathogens and insects