Numerical investigation of rarefied diatomic gas flows through a plane channel into a vacuum