Text this: Structural studies on nonlinear optical materials