Heavy fermions in cerium and uranium compounds studied by the de Haas-van Alphen experiment