Non-invasive methods of measuring cardiac output