A hybrid numerical flux for supersonic flows with application to rocket nozzles