Theoretical study of the effects of substitution, solvation, and structure on the interaction between nitriles and methanol