A MAP identification criterion for DCT-based watermarking