Buoyant Poiseuille–Couette flow with viscous dissipation in a vertical channel