Two-level preconditioned conjugate gradient methods with applications to bubbly flow problems