A hybrid formulation of eddy current problems