Amide-based Donor-acceptor Polymers for Sensor Applications