Treatment of nonlinear optical properties due to large amplitude anharmonic vibrational motions: umbrella motion in NH3