Secure and Robust Adaptive Digital Image Watermarking Methods in Spatial and Wavelet Domains