Equivalence between Scalar-Tensor theories and f(R)-gravity: from the action to cosmological perturbations. (14th May 2020)