Design and characterization of a cough simulator