Spin-polarized transport in a two-dimensional electron gas with interdigital-ferromagnetic contacts