Flowmeters: A comprehensive survey and guide to selection