Effect of the molecular dynamics of exchanging groups on electron transport. Stochastic Liouville equation approach