Robust Watermarking using Hidden Markov Models