Conformational and environmental effects on the electronic and vibrational properties of dyes for solar cell devices | Synapse