Affinity biosensor interface engineering for real-time biohazard monitoring