Neutronic response to two-phase flow in a nuclear reactor