Three-dimensional flow past a fixed or freely vibrating cylinder in the early turbulent regime