Computational study of structural, optoelectronic and nonlinear optical properties of dynamic solid-state chalcone derivatives.