A lab-on-chip for malaria diagnosis and surveillance