A theoretical study on dimerization and dissociation of acetic acid in ethanol solvent