QIM-DM watermarking optimization based on inter-frequency contrast masking in the DCT domain