The theory of a vibrating-rod viscometer