Exploring the twisted molecular configurations for tuning their optical and nonlinear optical response properties: A quantum chemical approach.