Method for Inserting a Watermark in an Image and Corresponding Method for Detecting a Watermark in an Image to be Analyzed