Thermodynamics of pathogen-biorecognition element binding reactions