The second– and third– order nonlinear optical properties and electronic transition of a NLO chromophore: A DFT study