An introduction to preamplifiers