Integrated optical input grating couplers as direct affinity sensors