An introduction to sensors and biosensors