Characterization of grating couplers for affinity-based pesticide sensing.