Characterization of free-carrier nonlinearities in porous silicon waveguides