swap odd and even bits in int