Linear analysis of flow instabilities in an open two-phase natural circulation loop