Effective Fragment Method for Modeling Intermolecular Hydrogen-Bonding Effects on Quantum Mechanical Calculations