Costs and benefits of fighting infection in locusts