Monitoring nonlinear profiles adaptively with a wavelet-based distribution-free CUSUM chart