Numerical simulation of electrodiffusion and osmosis in brain tissue