Hardware-Software Design of a Smart Sensor for Fully-Electronic DNA Hybridization Detection