On the molecular optical nonlinearity of halogen-bond-forming azobenzenes