A fractal model for soil pores and its application to determination of water permeability