Measurements of turbulent and periodic flows around a square cross-section cylinder