The interrelation between void fraction fluctuations and flow patterns in two-phase flow