Scanning polarimeter for measurement of the poloidal magnetic field in a tokamak