Behavior of interaction energy and intramolecular bond stretch in linear and bifurcated hydrogen bonds