A variable Quasi‐Periodic Oscillation in M82 X‐1. Timing and spectral analysis of XMM–Newton and RossiXTE observations