Uniaxial pressure effect on the magnetic ordered moment and transition temperatures in BaFe2-xTxAs2 ( T=Co,Ni )