Engineering the effector specificity of regulatory proteins for the in vitro detection of biomarkers and pesticide residues