Fines and imprisonment for contempt shall be only by virtue of an order of the proper house, entered on its journals, stating the grounds thereof.