A delay theory for boiling flow stability analysis