Computational modelling of electrodiffusion and osmosis in cerebral tissue