Electron scattering by atoms and ions using the Breit-Pauli Hamiltonian: An R-matrix approach