AC and DC current sensor