Robert Williams jailed over police assault