Nonlinear optical activity of anhydrous and hydrated sodium p-nitrophenolate