Bending of gel beams: method for characterizing elastic properties and permeability