A new parametrization method for hyperfine interactions. Determination of nuclear quadrupole moments almost free of Sternheimer corrections