Calculating the Gibbs energy of hydrogen bonding for proton acceptors with a solvent in methanol solutions