Using wavelet transform to detect peaks in PCR signals