How do water flow meters measure bidirectional water flow?