The environmental and economic costs of herbicide resistance and host-plant resistance to plant pathogens and insects