A Wavelet-tree-based Watermarking Method with 3D Hilbert Scanning Preprocessing