Sensitivity optimization of a grating coupled evanescent wave immunosensor