(2014•揭阳二模)已知(1+i)(1-mi)=2i(i是虚数单位),则实数m的值为(  )