Direct measurement of electrostriction in optical fibers