Chip combines DNA amplification and detection