Frequency- independent attenuators comprising an element controlled by an electric or magnetic variable {using a galvano-magnetic device}