Periodic transonic flow without and with condensation in a 2-D plane channel