A circuital formulation for direct electrical resistive tomography problems