Why does an inductor work differently at low frequencies versus high frequencies?