Adoption of pest management strategies under varying environmental conditions