Self-assembly and nonlinear optical properties of a synthetic dipeptide