Water seal spirometer