Propagation and breaking characteristics of solitons and N-wave in fresh water and brine