Principles of competitive protein-binding assays