Two-color sensor for biomolecule detection