Amorphous silicon photosensors for on-chip detection in digital microfluidic system