Direct numerical simulations of three-dimensional bubbly flows