Every person who wilfully disturbs the legislature, or either of the houses composing it, while in session; or who commits any disorderly conduct in the view and presence of either house, tending to interrupt its proceedings, or impair the respect due to its authority, shall be guilty of a misdemeanor, and, upon conviction, shall be punished by fine, not less than twenty dollars nor more than two hundred dollars, and by imprisonment in the county jail not more than three months.