Development of a sensor for high-quality two-phase flow