Parameter optimization of an embedded watermark using a genetic algorithm