Ab initio calculation of piezoelectric and ferroelectric properties of NaNO2'