A novel earthquake onset detection method using wavelet packet transform