Unit Commitment of Integrated Electricity and Heat System with Bi-directional Variable Mass Flow