Rotation measure variations across the lobes of extragalactic radio sources