Experimental study of the fiber laser output intensity behavior and its application to a water flow sensor