Forward simulation and inverse dipole localization with the lowest order Raviart - Thomas elements for electroencephalography