The role of electrostriction in the generation of acoustic waves by optical forces in water