Solvent effects on excited-state torsional motion and electronic relaxation of cis-1,3,5-hexatriene