The law of impedance pneumography