Giant optical nonlinearity of a Bi2Nd2Ti3O12 ferroelectric thin film