Transition to turbulence of convective flows in a cylindrical container