318-MHz variability of complete samples of extragalactic radio sources