Recognition of multipolar second-order nonlinearities in thin-film samples.