Uniaxial pressure effect on structural and magnetic phase transitions in NaFeAs and its comparison with as-grown and annealed BaFe2As2