Why are covalent bonds weak in the presence of heat but strong in the presence of water?