Linear stability analysis on instabilities of in-phase and out-of-phase modes in boiling water reactors