Optical properties of water under the action of the electromagnetic field in the infrared spectrum