Observations of water with Herschel/HIFI toward the high-mass protostar AFGL 2591