X-ray variability analysis of a large series of XMM–Newton +NuSTAR observations of NGC 3227