Annual and solar-magnetic-cycle variations in the interplanetary magnetic field, 1926-1971