Protecting plants from pests and diseases