Theory of impedance networks: the two-point impedance and LC resonances