A two-phase three-field modeling framework for heat pipe application in nuclear reactors