How does a manometer work?