Rigidity of Einstein metrics as critical points of quadratic curvature functionals on closed manifolds. (October 2018)